package com.example.JPetStore.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("carts")
public class Cart {
    @TableId(value = "cart_id", type = IdType.AUTO)
    int cartId;
    @TableField("item_id")
    String itemId;
    @TableField("user_id")
    int userId;
    @TableField("cart_timestamp")
    String cartTimeStamp;

//    @TableField("item_introduction")
//    public String itemIntroduction;

//    @TableField("item_price")
//    public String itemPrice;
}
